package com.jeecg.school.service;
import com.jeecg.school.entity.StudentEntity;
import org.jeecgframework.core.common.service.CommonService;

import java.io.IOException;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface StudentServiceI extends CommonService{
	
 	public void delete(StudentEntity entity) throws Exception;
 	
 	public Serializable save(StudentEntity entity) throws Exception;
 	
 	public void saveOrUpdate(StudentEntity entity) throws Exception;
 	
 	public long getStudentCount() throws Exception;
 	
	int getStudentCountByTeacher(Map<String, String> param) throws IOException;
	
	List<StudentEntity> queryListByTeacher(Map<String, String> param) throws IOException;
 	
}
